<?php
/**
 * 获取销售部门人员人数按城市统计
 */
apf_require_class('APF_Controller');
apf_require_class('Bll_Hr_Property');
class Api_SumSaleUsersController extends APF_Controller {
    public function handle_request() {
        $oahr_bll = new Bll_Hr_OutInterface();
        $function_id=empty($params['fun_id']) ? 9 : intval($params['fun_id']);
        $data = $oahr_bll->get_dep_user_by_function($function_id);
        echo json_encode($data);
        exit;
    }
}